package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 换汇到账对象 t_inaccount
 * 
 * @author ruoyi
 * @date 2022-03-17
 */
public class TInaccount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 换汇任务ID */
    private Long iid;

    /** 转移账户id */
    @Excel(name = "转移账户id")
    private Long outaccount;

    /** 转入账户id */
    @Excel(name = "转入账户id")
    private Long inaccount;

    /** 换汇结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "换汇结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endtime;

    /** 是否完成，0没有完成，1完成 */
    @Excel(name = "是否完成，0没有完成，1完成")
    private Long finished;

    /** 支出货币类型 */
    @Excel(name = "支出货币类型")
    private Long outaccountCurrency;

    /** 收入货币类型 */
    @Excel(name = "收入货币类型")
    private Long inaccountCurrency;

    /** 支出金额 */
    @Excel(name = "支出金额")
    private BigDecimal outaccountMoney;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String dtype;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long ofReason;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String object;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String tag;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal tax;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String invoice;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String attachment;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String comment;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date incomeDate;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date proofDate;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long serviceCharge;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String taxRateType;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long taxRate;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date payDate;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal inaccountMoney;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long inaccountServiceCharge;

    /** 交易详情 */
    @Excel(name = "交易详情")
    private Long tid;

    public void setIid(Long iid) 
    {
        this.iid = iid;
    }

    public Long getIid() 
    {
        return iid;
    }
    public void setOutaccount(Long outaccount) 
    {
        this.outaccount = outaccount;
    }

    public Long getOutaccount() 
    {
        return outaccount;
    }
    public void setInaccount(Long inaccount) 
    {
        this.inaccount = inaccount;
    }

    public Long getInaccount() 
    {
        return inaccount;
    }
    public void setEndtime(Date endtime) 
    {
        this.endtime = endtime;
    }

    public Date getEndtime() 
    {
        return endtime;
    }
    public void setFinished(Long finished) 
    {
        this.finished = finished;
    }

    public Long getFinished() 
    {
        return finished;
    }
    public void setOutaccountCurrency(Long outaccountCurrency) 
    {
        this.outaccountCurrency = outaccountCurrency;
    }

    public Long getOutaccountCurrency() 
    {
        return outaccountCurrency;
    }
    public void setInaccountCurrency(Long inaccountCurrency) 
    {
        this.inaccountCurrency = inaccountCurrency;
    }

    public Long getInaccountCurrency() 
    {
        return inaccountCurrency;
    }
    public void setOutaccountMoney(BigDecimal outaccountMoney) 
    {
        this.outaccountMoney = outaccountMoney;
    }

    public BigDecimal getOutaccountMoney() 
    {
        return outaccountMoney;
    }
    public void setDtype(String dtype) 
    {
        this.dtype = dtype;
    }

    public String getDtype() 
    {
        return dtype;
    }
    public void setOfReason(Long ofReason) 
    {
        this.ofReason = ofReason;
    }

    public Long getOfReason() 
    {
        return ofReason;
    }
    public void setObject(String object) 
    {
        this.object = object;
    }

    public String getObject() 
    {
        return object;
    }
    public void setTag(String tag) 
    {
        this.tag = tag;
    }

    public String getTag() 
    {
        return tag;
    }
    public void setTax(BigDecimal tax) 
    {
        this.tax = tax;
    }

    public BigDecimal getTax() 
    {
        return tax;
    }
    public void setInvoice(String invoice) 
    {
        this.invoice = invoice;
    }

    public String getInvoice() 
    {
        return invoice;
    }
    public void setAttachment(String attachment) 
    {
        this.attachment = attachment;
    }

    public String getAttachment() 
    {
        return attachment;
    }
    public void setComment(String comment) 
    {
        this.comment = comment;
    }

    public String getComment() 
    {
        return comment;
    }
    public void setIncomeDate(Date incomeDate) 
    {
        this.incomeDate = incomeDate;
    }

    public Date getIncomeDate() 
    {
        return incomeDate;
    }
    public void setProofDate(Date proofDate) 
    {
        this.proofDate = proofDate;
    }

    public Date getProofDate() 
    {
        return proofDate;
    }
    public void setServiceCharge(Long serviceCharge) 
    {
        this.serviceCharge = serviceCharge;
    }

    public Long getServiceCharge() 
    {
        return serviceCharge;
    }
    public void setTaxRateType(String taxRateType) 
    {
        this.taxRateType = taxRateType;
    }

    public String getTaxRateType() 
    {
        return taxRateType;
    }
    public void setTaxRate(Long taxRate) 
    {
        this.taxRate = taxRate;
    }

    public Long getTaxRate() 
    {
        return taxRate;
    }
    public void setPayDate(Date payDate) 
    {
        this.payDate = payDate;
    }

    public Date getPayDate() 
    {
        return payDate;
    }
    public void setInaccountMoney(BigDecimal inaccountMoney) 
    {
        this.inaccountMoney = inaccountMoney;
    }

    public BigDecimal getInaccountMoney() 
    {
        return inaccountMoney;
    }
    public void setInaccountServiceCharge(Long inaccountServiceCharge) 
    {
        this.inaccountServiceCharge = inaccountServiceCharge;
    }

    public Long getInaccountServiceCharge() 
    {
        return inaccountServiceCharge;
    }
    public void setTid(Long tid) 
    {
        this.tid = tid;
    }

    public Long getTid() 
    {
        return tid;
    }
    private String createtime;

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("iid", getIid())
            .append("outaccount", getOutaccount())
            .append("inaccount", getInaccount())
            .append("endtime", getEndtime())
            .append("finished", getFinished())
            .append("outaccountCurrency", getOutaccountCurrency())
            .append("inaccountCurrency", getInaccountCurrency())
            .append("outaccountMoney", getOutaccountMoney())
            .append("dtype", getDtype())
            .append("ofReason", getOfReason())
            .append("object", getObject())
            .append("tag", getTag())
            .append("tax", getTax())
            .append("invoice", getInvoice())
            .append("attachment", getAttachment())
            .append("comment", getComment())
            .append("incomeDate", getIncomeDate())
            .append("proofDate", getProofDate())
            .append("serviceCharge", getServiceCharge())
            .append("taxRateType", getTaxRateType())
            .append("taxRate", getTaxRate())
            .append("payDate", getPayDate())
            .append("inaccountMoney", getInaccountMoney())
            .append("inaccountServiceCharge", getInaccountServiceCharge())
            .append("tid", getTid())
            .toString();
    }
}
